package com.example.demo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import org.joda.time.DateTime;

@Builder
@Data
@TableName("checkout")
public class Checkout {
    @TableId(type = IdType.ASSIGN_ID)
    private Integer id;
    @TableField(value = "user_id")
    private Long userId;
    @TableField(value = "cart_id")
    private Integer cartId;
    @TableField(value = "order_id")
    private String orderId;
    @TableField(value = "transaction_id")
    private String transactionId;
    @TableField(value = "status")
    private Integer status;
    @TableField(value = "reason")
    private  String reason;
    @TableField(value = "first_name")
    private String firstName;
    @TableField(value = "last_name")
    private String lastName;
    @TableField(value = "create_time")
    private DateTime createTime;
    @TableField(value = "update_time")
    private DateTime updateTime;
    @TableField(value = "deleted")
    private Integer deleted;
}
